Image processing artifacts ImageMagick and PHP imagick extensions in order to increase page loading speed and reduce traffic, we need to slim down website images, study a lot of solutions, and finally determine the use of ImageMagick, after learning
ImageMagick can perform quite a few operations. This guide will guide you through the syntax and basic operations of ImageMagick and show you how to combine the various actions and how to batch multiple images.
Installationin Ubuntu and many Linux
In order to improve the loading speed of the page, as well as reduce traffic, to the image of the site to thin body, research a lot of solutions, and finally determine the use of ImageMagick, understand the software, really unlike, simply too good,
In order to improve the loading speed of the page, as well as reduce traffic, to the site of the picture to thin body, research a lot of solutions, and finally determined the use of ImageMagick, understand the software, really unsanitary environment,
Say Linux under the ImageMagick and Jmagick installation process, download imagemagick-6.2.6-8.tar.gz,jmagick-6.2.6-0.tar.gz and I downloaded the jpegsrc.v6b.tar.gz, LIBPNG-1.2.10.TAR.BZ2 and tiff-3.8.2.tar.gz, user support Jpg,png and TIFF format
has been in the use of LNMP integrated installation package to build LNMP environment, because the work needs to install the LDAP extension, in the Internet can not find the source installation package, can only uninstall the original LNMP
The code is as follows
Copy Code
sudo apt-get install ImageMagick
Other Linux has the corresponding software installation commands, I wrote the following two scripts, the pictures are batch format and compression operations:
ElementaryOS is similar to macos. It is transformed Based on Ubuntu. I prefer its interface concept, which is simple and clear. Therefore, we downloaded elementaryOSFreya and tried to install elementdesktop using UbuntuOS because the software
Sudoapt-getinstallvirtualboxsudoapt-getinstallntfs-3gntfs-config # ntfs write support, run ntfs-config after installation, put two hooks can be. Sudoapt-getinstallgoogleearthgooglizergtalk # related to google in the downstairs method. skyx friendly
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.